package com.bjpowernode.mappers;

import com.bjpowernode.entities.TPermission;

import java.util.List;

public interface TPermissionMapper {
    TPermission selectById(Integer id);

    List<TPermission> selectByUserId(Integer userId);

    List<TPermission> selectMenuPermissionListByUserId(Integer userId);

    int insert(TPermission record);

    int insertSelective(TPermission record);

    int updateById(TPermission record);

    int updateByIdSelective(TPermission record);

    int deleteById(Integer id);
}